package com.server.questionbank.snframe.service.CourseService.Member;

import com.server.questionbank.snframe.domain.Course.Member.CoursePermission;
import com.server.questionbank.snframe.domain.Course.Member.UserRegistCus;

import java.util.List;

public interface CusMemberService {
    // 加入课程
    public Integer joinCourse(Long courseId, Long userId, String userNickName);

    // 获取成员权限
    public CoursePermission getMemberPermission(Long courseId, Long memberId);

    // 获取成员信息
    public UserRegistCus getMemberInfo(Long courseId, Long memberId);

    // 获取所有成员
    public List<UserRegistCus> getAllMember(Long courseId);
    public List<UserRegistCus> getAllMember(Long courseId, Long groupId);

}
